package com.example.onlinemusic01.Service;

import com.example.onlinemusic01.Mapper.UserMapper;
import com.example.onlinemusic01.Model.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {
    @Autowired
    private  UserMapper userMapper;



    public User login(String username){
        return userMapper.login(username);
    }
}
